<%@ page language="java" import="java.util.*,com.jwpdk.appframework.data.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="w" uri="/wzw/jwpdk"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>

<hr />
<%
	IDataList dlist =  new DatasetList();
	IData mp = new DataMap();
	mp.put("value","1");
	mp.put("text","测1");
	dlist.add(mp);
	mp = new DataMap();
	mp.put("value","2");
	mp.put("text","测2");
	dlist.add(mp);
	mp = new DataMap();
	mp.put("value","3");
	mp.put("text","测3");
	dlist.add(mp);
	mp = new DataMap();
	mp.put("value","4");
	mp.put("text","测4f");
	dlist.add(mp);
pageContext.setAttribute("dlist",dlist);
%>
${dlist}
<select id="ffs" onclick="fas()" >
<option value="1">222222222222</option>
<option value="2">111111111111</option>
<option value="3">333333333333</option>
<option value="4">444444444444</option>
</select>
<hr>
只读 隐藏
<w:select id="ffff" name="dddd" value="2"  noShow="true" readonly="true" dataList="${dlist}"  onfocus="aa(this)"  ></w:select>
</br>
页面java变量
<w:select id="ffff0" name="dddd0" value="2"  dataList="${dlist}" isNull="false" onfocus="aa(this)"  ></w:select>
</br>
静态变量
<w:select id="ffff1" name="dddd1" value="2"   staticData="[text=男,value=1],[text=女,value=2]"    ></w:select>
</br>
不带参数code
<w:select id="ffff2" name="dddd2" value="2"   code="wc"    ></w:select></br>
参数code
<w:select id="ffff3" name="dddd3" value="2"   code="zz"   ></w:select></br>
参数code 带转义1
<w:select id="ffff4" name="dddd4" value="2"   code="bz"  param="[parent_id=2]" cellTrans="type_id|type_name"  ></w:select></br>
参数code 带转义2
<w:select id="ffff5" name="dddd5" value="2"   code="bz"  param="[parent_id=2]" cellTrans="type_name|type_id"  ></w:select></br>
<script type="text/javascript">
 function aa(o){
 	alert(o.value);
 }
</script>
</body>
</html>
